package sr.myserver.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;


@Data
@TableName(value = "sys_users")
@ApiModel(value = "用户信息", description = "用户信息")
public class SysUsers extends BaseEntity {

    @TableId(value = "account", type = IdType.INPUT)
    @Schema(description = "用户账号")
    private String account;

    @Schema(description = "用户密码")
    private String pass;

    @Schema(description = "用户名称")
    private String name;

    @Schema(description = "用户手机号")
    private String phone;

    @Schema(description = "用户邮箱")
    private String email;

    @Schema(description = "用户性别")
    private Integer sex;

    @Schema(description = "用户年龄")
    private Integer age;

    @Schema(description = "权限编号")
    private String roleId;
}
